package com.xwh.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xwh.pojo.entity.Student;
import com.xwh.pojo.vo.StudentVo;
import com.xwh.util.Result;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * @author 向文豪
 * @program: springboot0412
 * @description:
 * @date 2023/4/12 19:39
 */
public interface IStudentService {
    Result findPage(Integer current, Integer pageSize, StudentVo studentVo);
    Result findAll();
    Result findById(Integer sid);
    Result insert(Student student);
    Result updateById(Student student);
    Result deleteById(Integer sid);
    Result deleteByIds(List<Integer> ids);
    Result getPage(IPage<Student> iPage, Wrapper<Student> wrapper);
}
